package com.woniuxy.member.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 兑换优惠卷表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exchange_coupon")
public class ExchangeCoupon implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "exchange_coupon_id", type = IdType.AUTO)
    private Integer exchangeCouponId;

    /**
     * 优惠卷ID
     */
    private Integer couponId;

    /**
     * 优惠卷名称
     */
    private String couponName;

    /**
     * 兑换分数
     */
    private Integer score;


}
